package com.wei.czz.common.dto.admin.dept;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.wei.czz.common.dto.common.ExportExcelDto;
import com.wei.czz.common.easyexcel.converter.CzzLongStringConverter;
import lombok.Getter;
import lombok.Setter;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-11-30 22:48:02
 * className: DeptExcelDto
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class DeptExcelDto extends ExportExcelDto {

    /**
     * 部门主键
     */
    @ExcelProperty(value = "部门主键", converter = CzzLongStringConverter.class)
    private Long id;

    /**
     * 部门名称
     */
    @ExcelProperty("部门名称")
    private String name;

    /**
     * 父级部门
     */
    @ExcelProperty("父级部门")
    private String parentName;

    /**
     * 业务类型
     */
    @ExcelProperty("业务类型")
    private String businessTypeName;

    /**
     * 排序等级
     */
    @ExcelProperty("排序等级")
    private Integer sort;

    /**
     * 状态[0-可用 1-禁用]
     */
    @ExcelProperty("状态")
    private String statusName;

}
